<?php

namespace app\admin\model;

use think\Model;

class Wallet extends Model
{
    protected $autoWriteTimestamp = 'datetime';
    public function pids()
    {
    	return $this->belongsTo('user','pid','id');
    }
    public function user()
    {
    	return $this->belongsTo('user');
    }
    public function orderids()
	{
		return $this->belongsTo('battery_order','orderid','orderid');
	}
}
